{template "content","header"}
<link rel="stylesheet" href="{HOUSE_CSS_PATH}inner.css" />
        
<!-- MAIN CONTENT -->
<div id="outermain">
	<div id="maincontent">
	<section id="mainthecontent">

		<h1 class="pagetitle"><b>贴吧</b></h1><div id="breadcrumb">当前位置: <a href="index.php">首页</a>  /  贴吧</div>
		
		<h1 class="pagetitle" style="border-bottom:solid 2px #dfddc7; width:100%; line-height:35px"><b>{$catname}</b></h1>
		
		<div class="eight columns firstcols">
			<div class="bbs">
			{loop $list $r}	
				<a href="index.php?m=bbs&c=index&a=info&id={$r['id']};">
					<div class="bbs_title">{$r['title']}</div>
					<div class="bbs_phone">{cutEmail($r['email'])}</div>
					<div class="bbs_email">{$r['datetime']}</div>
				</a>
			{/loop}	
			</div>
			<div id="pages" class="pagenavi">{$pages}</div>	
			
			
			
			<div class="clear"></div>

			<hr />
			<div id="contactform">
				  <form id="contact" action="#" method="post" />
				  
					<input type="text" name="email" id="email" size="50" value="Email" class="text-input" onblur="if (this.value == ''){this.value = 'Email'; }" onfocus="if (this.value == 'Email') {this.value = ''; }" />
					<input type="text" name="title" id="title" value="title" class="text-input" onblur="if (this.value == ''){this.value = 'title'; }" onfocus="if (this.value == 'title') {this.value = ''; }" />
					<textarea cols="60" rows="10" name="content" id="content" class="text-input">Message</textarea>
					<br />
					<input type="submit" name="submit" class="button" id="submit_btn" value="Send Message" /><br class="clear" />
				   
				  </form>
			</div><!-- end contactform -->
		</div>
		<div class="four columns lastcols">
			
		</div>
					
		<div class="clear"></div>
	</section>
	</div>
</div>
<!-- END MAIN CONTENT -->
               
{template "content","footer"}